﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sinacor.Infra.Tools.ServiceRegistration.Entity
{
    public class EndPoint : EntityBase
    {
        #region Attributes

        private int? _endpoint_id;
        private Protocol _protocol;
        private Service _service;
        private string _contract_name;

        #endregion

        #region Constructor

        public EndPoint()
        {
            _protocol = new Protocol();
        }

        #endregion

        #region Properties

        public int? EndPointId
        {
            get { return _endpoint_id; }
            set { _endpoint_id = value; }
        }

        public Protocol Protocol
        {
            get { return _protocol; }
            set { _protocol = value; }
        }

        public Service Service
        {
            get { return _service; }
            set { _service = value; }
        }

        public string ContractName
        {
            get { return _contract_name; }
            set { _contract_name = value; }
        }

        #endregion
    }
}
